package com.myproject02.domain;

public class Printer implements Equipment{
    private String name;//机器型号
    private String type;//机器类型
    public String getName(){
        return name;
    }
    public void setName(String name){
        this.name = name;
    }
    public String getType(){
        return type;
    }
    public void setType(String type){
        this.type = type;
    }
    public Printer(){}
    public Printer(String name,String type){
        this.name = name;
        this.type = type;
    }

    public String getDescription(){
        return name + "(" + type + ")";
    }
}
